home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / pair331.zip / PAIR3.DOC < prev    next >
Text File  |  1992-06-18  |  17KB  |  375 lines

  1.  
  2.                              3 - PAIR POKER
  3.  
  4.                                   v3.1
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.  
  20.    3- PAIR Poker is a card game that requires you to accumulate 3 pairs 
  21.    to win the game. You will be playing against the computer, who is a 
  22.    formidable opponent. The player, if he/she wins, will accumulate points
  23.    based upon the value of the cards in their hand as well as the cards in
  24.    the computer's hand. Should the computer win then the player loses points
  25.    based upon the value of the cards in the player's hand.
  26.  
  27.  
  28.    NOTE: Most errors will be logged to a file called DFRAME.ERR, which is
  29.          created in the directory you run the door from.
  30.  
  31.  
  32.  
  33.                               INSTALLATION
  34.                               ____________
  35.  
  36.  
  37.    Installation is fairly easy and straight-forward. The following steps and
  38.    examples should have you up and running in a very short period of time.
  39.    It is assumed that you are familiar with setting up DOORS on your system.
  40.    To this end, only examples of the configuration file and Door batch file
  41.    are described.
  42.  
  43.       1) Create a directory to hold all PAIR3 files
  44.  
  45.       2) Unzip PAIR3xx.ZIP into the the above directory
  46.  
  47.          NOTE: BRUN45.EXE is not included but is required !!!
  48.  
  49.       3) Create a configuration file, with a name of your choice, or
  50.          modify the supplied PAIR3.CFG file. A description follows:
  51.  
  52.             **                       Location of system file (See Below)
  53.             SUNRISE-80 BBS           Your BBS Name
  54.             Al                       Sysop's First nameAP
  55.  
  56.             Lawrence                 Sysop's Last Name
  57.  
  58. |-----------------------------------------------------------------------------|
  59. | READ!     1                        CommPort  \ These 2 lines are required   |
  60. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  61. |-----------------------------------------------------------------------------|
  62.  
  63.             00000000                 Registration Number
  64.  
  65.     !   #   2                        Maximum # of Games per day
  66.                                      (Sysop gets 99 in registered verson ONLY!)
  67.  
  68.         #   0                        Max # of days a caller can make up, during
  69.                                      calls in one day. 0=Disable Make-up Option
  70.                                      Maximum value = 27, Minimum value = 1
  71.  
  72.         #   NONE                     Drive:\Path\Filename to contain the
  73.                                      Top Score Bulletin or enter NONE
  74.                                      for NO Bulletin creation.
  75.  
  76.         #   NONE                     Drive:\Path\Filename to contain the
  77.                                      Top Score Bulletin (Color) or enter NONE
  78.                                      for NO Bulletin creation.
  79.  
  80.         #   NONE                     Drive:\Path\Filename to contain the
  81.                                      Hall of Fame Bulletin or enter NONE
  82.                                      for NO Bulletin creation.
  83.  
  84.         #   NONE                     Drive:\Path\Filename to contain the
  85.                                      Hall of Fame Bulletin (Color) or enter NONE
  86.                                      for NO Bulletin creation.
  87.  
  88.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  89.                                      2 = Display ADOPT-A-DOOR message
  90.  
  91.         #   2                        Keyboard timeout value in Minutes
  92.  
  93.     !   #   0                        Time Allowed in Door
  94.                                      (Sysop = Time Remaining - REG. VERSION)
  95.  
  96.         #   N                        Automatic game reset at end of month:
  97.                                        Y = Yes enable autoreset
  98.                                        N = Keep accumulating scores
  99.  
  100.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  104.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  105.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  106.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  107.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  108.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  109.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  110.  
  111.     @   #   XXXX/YYYY                 Blackout Range  From/To
  112.     @   #   XXXX/YYYY                 Blackout Range  From/To
  113.     @   #   XXXX/YYYY                 Blackout Range  From/To
  114.     @   #   XXXX/YYYY                 Blackout Range  From/To
  115.     @   #   XXXX/YYYY                 Blackout Range  From/To
  116.  
  117.           ** = Replace with ONE of the following:
  118.  
  119. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  120. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  121. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  122.                                    (Note:DOOR.SYS must be in SAME directory)
  123. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  124. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  125. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  126. C:\BBS\CHAIN.TXT                <- For WWIV systems 
  127. C:\BBS\GTUSER.BBS               <- For GT Power 
  128.                                    * if using this option you must put the
  129.                                      ComPort # on line 5 and the Node # on
  130.                                      line 6 of the configuration file
  131.  
  132.  
  133.  
  134.            # = Requires registration to change to a different value.
  135.            ! = See "Plays per DAY/DOOR Time" Below
  136.            @ = See "Blackout Periods" Below
  137.  
  138.  
  139.                NOTE: There are NO Blank Lines in the Config File!!
  140.  
  141.  
  142.       4) Create a batch file or modify the PAIR3 file supplied. A
  143.          description of this file follows:
  144.  
  145.             ECHO off
  146.             cd\PCB\DOORS\PAIR3        Location of Piar3 files
  147.             PAIR3 PAIR3.CFG           EXE filename and CNF filename (Name
  148.                                       used in creating file in #3 above)
  149.             CD\PCB
  150.             BOARD
  151.  
  152.  
  153.        5) When running in more than one node, be sure to supply a
  154.           different configuration name for each node (your choice of name).
  155.  
  156.  
  157.   
  158.          
  159.                MAKE-UP DAYS (Registered version only)
  160.                --------------------------------------
  161.  
  162. The Make-Up-Day feature allows the caller to make up any plays he/she missed 
  163. during the current month and prior to the current call. You control whether 
  164. to allow this option, as well as the number of days the caller can make up, on
  165. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  166. configuration file, turns the option OFF, any other value (up to a max of 27)
  167. turns the option ON and dictates the number of days the caller can make up.
  168.  
  169.  
  170. NOTE:      The number of games per day is calculated as follows...
  171.  
  172.            Games Allowed per day x Number of makeup days.
  173.  
  174. Example:   Games Allowed per day = 2
  175.            Max # of makeup days  = 4
  176.  
  177. If a caller logs in on 5/8/92 and this is their first call of the month, they
  178. would have a potential of 16 games to makeup and bring them current 
  179. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  180. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8 
  181. (games allowed * max # of makeup days).
  182.  
  183.  
  184.  
  185.              HALL OF FAME BULLETINS (Registered version only)
  186.              ------------------------------------------------
  187.  
  188. The program will automatically reset the game when the first caller of the
  189. month plays the game. The score file will be cleared and a set of Hall of Fame
  190. bulletin files will be created. The files will be called SUNHOF.ASC and 
  191. SUNHOF.ANS (ASCII and ANSI versions). The files will be placed in the same 
  192. directory as the BETSY.EXE file. You are responsible for COPYING the files to 
  193. your bulletin area and renaming to a filename of your choice.
  194.  
  195. WARNING: The HOF files are cumulative files. That means they are read in each 
  196.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  197.          the record of prior months winners!!!!
  198.   
  199.  
  200.  
  201.  
  202.                           BLACKOUT PERIODS
  203.                           ________________
  204.  
  205.       Use the Blackout ranges option to define up to 5 time periods during
  206.       which you DO NOT want the Door to be played. If a caller tries to access 
  207.       the Door during the Blackout period, they will be shown a message that
  208.       contains ALL the Blackout periods you have defined, and to try the Door
  209.       at a later time.
  210.  
  211.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  212.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  213.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  214.  
  215.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  216.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  217.                    a Blackout range.
  218.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  219.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  220.  
  221.  
  222.                    
  223.                           PLAYS Per DAY/DOOR Time
  224.                           _______________________
  225.  
  226.       Plays Per Day and Door Time can be controlled several ways:
  227.  
  228.       (1) You can use the Games Per Day, singular option, in the config
  229.           file above. This option, will affect ALL callers whose Security
  230.           Level is NOT defined in any of the 10 optional Security Level/
  231.           Plays Per Day entries in the config file.
  232.  
  233.       (2) You can use the Door Time, singular option, in the config file
  234.           above. This option, will affect ALL callers whose Security
  235.           Level is NOT defined in any of the 10 optional Security Level/
  236.           Plays Per Day/Door Time entries in the config file.
  237.  
  238.       (3) You can restrict the number of games a specific Security Level
  239.           will be allowed to play per day or REWARD specific Levels with 
  240.           more Plays Per Day. 
  241.  
  242.           Likewise, you can restrict the Play time for a specific Security
  243.           Level or REWARD specific Levels with more Door Time.
  244.  
  245.           These options are handled by the use of the 10 config 
  246.           entries (000=00/00). 
  247.           
  248.           The format of each entry is as follows:
  249.  
  250.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  251.                      where =  is a constant and MUST be included
  252.                      where YY is the # of games per day (must be 2 digits)
  253.                      where / is a constant and MUST be included
  254.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  255.           
  256.           If the callers Security Level is NOT defined, his/her Plays Per
  257.           Day and Door Time will be controlled by the values in items
  258.           (1) and (2), above, respectively..
  259.  
  260.           You may define up to 10 Security Levels. All unused entries must
  261.           be defined as   000=00/00
  262.         --------------------------------------------------------------------
  263.           Example: Suppose you had 3 Security Levels defined on your BBS as
  264.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you 
  265.           wanted to set Plays Per Day as :     Subscriber=5
  266.                                            Visiting Sysop=2
  267.                                                   CoSysop=3
  268.                                                    Friend=10 
  269.           
  270.           and Door Time as follows:     Subscriber=30 minutes
  271.                                     Visiting Sysop=20 minutes
  272.                                            CoSysop=10 minutes 
  273.                                             Friend=remaining call time
  274.                                
  275.  
  276.           You would set the Individual "Games per Day" config entry to 1 and 
  277.           the individual "Door Time" to 5 minutes (these would be the 
  278.           default number of games and default Time for all Security Levels
  279.           other than 20,30 or 40... make them any number you want). Next you
  280.           would replace 4 of the Security Level entries as :  020=05/30                                               
  281.                                                               030=02/20
  282.                                                               040=03/10
  283.                                                               090=10/0
  284.  
  285.  
  286.  
  287.                         NON-STANDARD COM SUPPORT
  288.                         ________________________
  289.  
  290.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  291.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  292.       number after the configuration filename. Let's assume your Door is
  293.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  294.       passed to your Door would be:
  295.  
  296.                             FOOBAR FOOBAR.CFG /5
  297.  
  298.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  299.       normally used with COM1. No /x parameter is needed for the standard
  300.       IRQ's.
  301.  
  302.       As an alternative, you may use an environmental variable on the command
  303.       line. To use the variable (following the example above), place a 
  304.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a 
  305.       different IRQ number for each node). The command line would now look 
  306.       like this: 
  307.  
  308.                           FOOBAR FOOBAR.CFG /%IRQ%
  309.       
  310.       This, in combination with the use of the environmental variables 
  311.       described in the MULTI-NODE SETUP section will allow you to use one 
  312.       batch file and one config file to run this door on all nodes.
  313.  
  314.  
  315.  
  316.  
  317.                            MULTI-NODE SETUP
  318.                            ________________
  319.  
  320.       All Sunrise Doors are Multi-Node capable. Each node must have the 
  321.       ability to access a configuration file which will have its own system 
  322.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first 
  323.       line. There are 2 ways to accomplish this:
  324.  
  325.       (1) Create a separate configuration file for each node. The only 
  326.           difference between each file would be the location of the system 
  327.           file for that particular node. For example, on my system there are 2
  328.           nodes and the first line of the config files would look like this:
  329.  
  330.                         NODE1:  H:\PCB1\DOOR.SYS
  331.                         NODE2:  H:\PCB2\DOOR.SYS
  332.  
  333.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  334.  
  335.       (2) Use ONE configuration file for ALL nodes. This Door will recognize 
  336.           the following PCBoard environmental variables:
  337.  
  338.                  PCBDIR    (Directory containing the System file)
  339.                  PCBDRIVE  (Drive containing the System file)
  340.  
  341.           Thus, the first line of the SINGLE configuration file, for this Door
  342.           would look like this:
  343.  
  344.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  345.  
  346.       NOTE: This option, as described, assumes that you are running PCBoard 
  347.             14.5a software. The environmental variables are automatically 
  348.             created by the software for each node.
  349.  
  350.             HOWEVER, if you are running other BBS software you should be able
  351.             to set the variables EXACTLY as described below, for EACH node 
  352.             (more than likely in each batch file you use to bring up EACH node):
  353.  
  354.                             PCBDRIVE=C:
  355.                             ^^^^^^^^^
  356.                             PCBDIR=\NODE2
  357.                             ^^^^^^^^
  358.             
  359.             Info with a carat (^) under it, MUST be typed as is. The rest 
  360.             depends on your naming conventions. 
  361.  
  362.             This, in combination with the use of the optional environmental
  363.             variable described in the NON-STANDARD COM SUPPORT section, will
  364.             allow you to use one batch file and one config file to run this 
  365.             door on all nodes.
  366.  
  367.  
  368.  
  369.  
  370.                                ADOPT-A-DOOR
  371.                                ____________
  372.  
  373.     Having been a Sysop for a number of years, I have had my share of problems
  374.     and frustrations getting fina
  375.